package com.orcs.leefei.utils.kotlin

import android.support.v4.app.Fragment as SupportFragment

/**
 * Created by FeiLee on 2016/12/26 11:16.
 */

//public fun Context.toast(messageResId: Int) {
//    Toast.makeText(this, messageResId, Toast.LENGTH_SHORT).show()
//}
//
//public fun Context.longToast(messageResId: Int) {
//    Toast.makeText(this, messageResId, Toast.LENGTH_LONG).show()
//}
//
//public fun Context.toast(message: String) {
//    Toast.makeText(this, message, Toast.LENGTH_SHORT).show()
//}
//
//public fun Context.longToast(message: String) {
//    Toast.makeText(this, message, Toast.LENGTH_LONG).show()
//}
//
//public fun Fragment.toast(messageResId: Int) {
//    Toast.makeText(activity, messageResId, Toast.LENGTH_SHORT).show()
//}
//
//public fun Fragment.longToast(messageResId: Int) {
//    Toast.makeText(activity, messageResId, Toast.LENGTH_LONG).show()
//}
//
//public fun Fragment.toast(message: String) {
//    Toast.makeText(activity, message, Toast.LENGTH_SHORT).show()
//}
//
//public fun Fragment.longToast(message: String) {
//    Toast.makeText(activity, message, Toast.LENGTH_LONG).show()
//}
//
//public fun SupportFragment.toast(messageResId: Int) {
//    Toast.makeText(activity, messageResId, Toast.LENGTH_SHORT).show()
//}
//
//public fun SupportFragment.longToast(messageResId: Int) {
//    Toast.makeText(activity, messageResId, Toast.LENGTH_LONG).show()
//}
//
//public fun SupportFragment.toast(message: String) {
//    Toast.makeText(activity, message, Toast.LENGTH_SHORT).show()
//}
//
//public fun SupportFragment.longToast(message: String) {
//    Toast.makeText(activity, message, Toast.LENGTH_LONG).show()
//}
